package com.xxgc.cloud.auth.springcloudauth.controller.pojo;

import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.util.Set;

/**
 * @program: SpringCloudStudy
 * @description: 用户的角色和权限
 * @author: Shijiayi
 * @create: 2022-12-08 18:28
 **/
@ToString
@Data
@Component
public class UserRolesAndPermissions {
    //角色列表
    private Set<String> roles;
    //权限列表
    private Set<String> permissions;
}
